﻿using Basic.UserRemoteModel.WxLogin;
using Basic.UserRemoteModel.WxLogin.Model;
using Basic.UserService.Interface;
using WeDonekRpc.Client.Interface;

namespace Basic.UserService.RpcEvent
{
    internal class MiniLoginEvent : IRpcApiService
    {
        private readonly IWxMiniLoginService _Service;

        public MiniLoginEvent (IWxMiniLoginService service)
        {
            this._Service = service;
        }

        public MiniLoginResult MiniLogin (MiniLogin obj)
        {
            return this._Service.Login(obj.Param);
        }
    }
}
